Informatica Economică vol.22, no. 2/2018 37
DOI: 10.12948/issn14531305/22.2.2018.04
In cases like these, multiple arbitrage trades
can be possible in order to make profit. In the
first exchange will be executed more trades
and in the second only one. The software will
buy the lowest price for multiple pairs and sell
the last one on a higher price. The profit for
multiple arbitrage trades will be expressed in
this case by the formula:
For the next level of multi arbitrage trades,
when we buy more pairs and sell more pairs
in order to earn the difference between those
operations, the profit will be expressed by the
next equation:
where (nBUY) is the number of buy trades
and (nSELL) is the number of sell trades made
simultaneous. This kind of trades can be found
using two different exchanges but sometimes
the difference can be found even in the same
exchange. The multiple arbitrage trades are
more complex to be validated and executed
and a serious computational power is needed
in order to deliver all the trading signals and
orders in real time. Only low-latency trading
software can manage this process in order to
deliver the orders in that short time needed to
execute them.
3. Cryptocurrency dictionaries
One of the most important parts of an arbi-
trage trading system for cryptocurrencies is
the dictionary. Due to a very high number of
cryptocurrencies quotes involved and because
there is not a standard for naming the coins
and pairs, a lot of false trading signals can be
built without a strict codification methodol-
ogy. Each exchange has its own coin and pair
codes. We can find cases when the same coin
can be named or coded differently.
For example BTC can be the symbol for
Bitcoin in the most exchanges but some of
them will code the Bitcoin with XBC or BTX.
In order to compare the price of the same cur-
rencies, a codification dictionary must to be
implemented. The trading software must have
its own codification rules and all codes from
all exchanges must to be included into the
trading software database.
In addition there are cases when the code of a
pair into an exchange can be the code of an-
other pair into another exchange. For example
SCAPPC is representing the pair of SC re-
ported to the APPC coin in the most ex-
changes but it others it is the pair between
SCA and PPC. All these codes SC, SCC, PPC
and APPC are valid crypto coin codes. This is
the case when a profitable arbitrage trade can
be found if we will compare the price of the
SCAPPC pair into two exchanges where that
code represent different coin pairs. To avoid
these type of false signals, in the trading soft-
ware dictionary must to be inserted each pair
code from each exchange related with the real
pairs that are quoted. A codification using a
separator is a very good implementation. With
this additional rule, the code will looks like
SC-APPC and SCA-PPC and the confusion is
avoided.
From this reason, the cryptocurrencies dic-
tionary implementation and continuous opti-
mization is a very significant part of the arbi-
trage trading software for virtual coins. More,
the current practice added to this reason an-
other important one. In fact more exchanges
are changing the codification of the crypto
coins and pairs occasionally. This means reli-
able trading software must have the possibility
for an easy change of a coin code or pair code,
in order to save time and to trade the most sig-
nificant profit opportunities without a signifi-
cant change in the code of that software.
In this moment (2018 year) there are more
than 3000 virtual coins on the free market
listed in more than 300 exchanges and we are
still counting. Not on the last place, the fact
that new crypto coins are invented every day
and they are added often into the exchanges
quotes makes the dictionary to be a significant
tool in order to keep the trading software up-
dated with the reality of cryptocurrency mar-
kets.